CoreMlDiffusionImpl

Implements Android noop behavior for the iOS-only Core ML feature layer.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open suspend override fun interrupt()

Performs the SDAI side effect handled by interrupt.

Link copied to clipboard
open override fun observeStatus(): Flow<LocalDiffusionStatus>

Loads SDAI data through observeStatus.

Link copied to clipboard
open suspend override fun process(payload: ImageToImagePayload, modelPath: String): String
open suspend override fun process(payload: TextToImagePayload, modelPath: String): String

Executes the process step in the SDAI Core ML feature layer.